Complex clockwork mechanism